package com.aiit.carinsurance2.service.impl;



import com.aiit.carinsurance2.dao.FinallylistDao;
import com.aiit.carinsurance2.pojo.Finallylist;
import com.aiit.carinsurance2.pojo.Finallylistinfo;
import com.aiit.carinsurance2.pojo.Finallylistinfos;
import com.aiit.carinsurance2.service.FinallylistService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hfy
 * @since 2022-05-06
 */
@Service
public class FinallylistServiceImpl implements FinallylistService {
    @Autowired
    private FinallylistDao finallylistDao;


    @Override
    public int insert(Finallylist finallylist) {
        return finallylistDao.insert(finallylist);
    }

    @Override
    public Finallylistinfo querylistbyuid(Integer uid) {
        return finallylistDao.querylistbyuid(uid);
    }

    @Override
    public List<Finallylistinfos> querylistinfo(Integer uid) {
        return finallylistDao.querylistinfo(uid);
    }
}
